import uniFetch from "@/utils/uni-fetch";

/*分页查询消息列表的接口*/
export const fetchMessageListAPI=(params)=>uniFetch.get("/driver/messages/page",params)
/*全部已读的接口*/
export const  messageReadAllAPI=(contentType)=>uniFetch.put(`/driver/messages/readAll/${contentType}`)
/*标记已读的接口*/
export const messageReadAPI=(id)=>uniFetch.put(`/driver/messages/${id}`)
